﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="UTF-8" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title><?php if(isset($title)) { echo $title; } else { echo "DHLA"; }?></title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/frontend/css/style.css" />
	
	<script language="javascript" type="text/javascript" src="<?php echo base_url();?>public/frontend/js/jquery-1.4.4.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo base_url();?>public/frontend/js/jquery-1.3.2.min.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo base_url();?>public/frontend/js/myfunction.js"></script>
	
</head>
<body id="body">
<div id="wrapper">
	<div id="header">
		<div id="banner">
			<a id ="logo" href="<?php echo site_url();?>trangchu"><img alt="DHLA" src="<?php echo base_url();?>public/frontend/images/logo.png" /></a>
			<ul id="right_top">
				<?php if(!$this->session->userdata('logged_in')){ ?>
                <li><a href="<?php echo site_url('user/login'); ?>">Đăng nhập</a></li>
                <li><a href="<?php echo site_url('user/register'); ?>">Đăng ký</a></li>
                <?php }else{?>
                <li><a style="color: white;" ><span>Chào bạn: <?php echo $this->session->userdata('logged_in');?> !</span></a></li>
                <li><a class="registry" title="Thoát" href="<?php echo site_url('user/logout');?>">Thoát</a></li>
                <?php }?>
			</ul><!--end ul#right_top-->
		</div><!--end#banner-->
	</div><!--End div#header-->